﻿using System.Collections;
using YAWD.Data;
using System.Collections.Generic;

namespace YAWD.BL.Services
{
    static class ResolutionServices
    {
        public static IList<string> GetEnabledResolutions()
        {
            return Dal.GetInstance.GetEnabledResolutions();
        }
        public static IList GetResolutions()
        {
            return Dal.GetInstance.GetResolutions();
        }

        public static void UpdateResolutions(IList resolutions)
        {
            foreach (Resolution resolution in resolutions)
                Dal.GetInstance.UpdateResolution(resolution);
            
        }
    }
}
